/**
 * @description 广告
 */
//公用样式 
require('../../assets/css/animate.min.css')
require('../../assets/css/index.less')
    // 当前页面样式
require('./advertisement.less')


// 工具函数 utils
const dom = require('../../utils/dom')





// DOM加载事件
dom.ready(function() {
    let ko = dom.gete('div')

    console.log(ko);


    window.setInterval(function() {
        console.log(dom.gete(".ii"));
        dom.gete("span").textContent -= 1;
        if (dom.gete("span").textContent == 1) location.href = 'login.html'
    }, 1000)

    dom.addevent('.skip', function() {
        location.href = 'login.html';
    })



})